home *** CD-ROM | disk | FTP | other *** search
- on LiveRollOverMM chn, mask
- global MainMode
- if rollOver(mask) then
- if the movieRate of sprite chn <> 1 then
- set the movieRate of sprite chn to 1
- if MainMode = 0 then
- set the movieRate of sprite 11 to 0
- end if
- end if
- else
- if the movieRate of sprite chn <> 0 then
- set the movieRate of sprite chn to 0
- if MainMode = 0 then
- set the movieRate of sprite 11 to 1
- end if
- end if
- end if
- end
-
- on LiveRollOver chn, maskchn, mode
- global MainMode
- if mode = 0 then
- if the directToStage of member "sml_sun" = 0 then
- set the directToStage of member "sml_sun" to 1
- end if
- end if
- if rollOver(maskchn) then
- if the movieRate of sprite chn <> 1 then
- set the movieRate of sprite chn to 1
- end if
- else
- if the movieRate of sprite chn <> 0 then
- set the movieRate of sprite chn to 0
- end if
- end if
- end
-
- on LiveRollOver2mask chn, maskchn, maskchn2, mode
- global MainMode, min_duration
- if mode = 0 then
- if the directToStage of member "sml_sun" = 0 then
- set the directToStage of member "sml_sun" to 1
- end if
- end if
- if rollOver(maskchn) or rollOver(maskchn2) then
- if the movieRate of sprite chn <> 1 then
- set the movieRate of sprite chn to 1
- end if
- else
- if (the movieRate of sprite chn <> 0) and (the duration of the member of sprite chn > min_duration) then
- set the movieRate of sprite chn to 0
- end if
- end if
- end
-